import java.awt.*;
import javax.swing.*;
/*
 * Created by JFormDesigner on Mon Mar 01 16:11:34 CST 2021
 */



/**
 * @author test
 */
public class MainForm extends JPanel {
    public MainForm() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        // Generated using JFormDesigner Evaluation license - test
        label1 = new JLabel();
        textField1 = new JTextField();
        button1 = new JButton();
        scrollPane1 = new JScrollPane();
        textArea1 = new JTextArea();
        label2 = new JLabel();
        label3 = new JLabel();
        slider1 = new JSlider();
        slider2 = new JSlider();
        button2 = new JButton();
        button3 = new JButton();
        button4 = new JButton();

        //======== this ========
        setBackground(new Color(153, 153, 153));
        setForeground(new Color(51, 51, 51));
        setBorder(new javax.swing.border.CompoundBorder(new javax.swing.border.TitledBorder(new javax.swing.
        border.EmptyBorder(0,0,0,0), "JF\u006frmDesi\u0067ner Ev\u0061luatio\u006e",javax.swing.border.TitledBorder.CENTER
        ,javax.swing.border.TitledBorder.BOTTOM,new java.awt.Font("Dialo\u0067",java.awt.Font
        .BOLD,12),java.awt.Color.red), getBorder())); addPropertyChangeListener(
        new java.beans.PropertyChangeListener(){@Override public void propertyChange(java.beans.PropertyChangeEvent e){if("borde\u0072"
        .equals(e.getPropertyName()))throw new RuntimeException();}});
        setLayout(null);

        //---- label1 ----
        label1.setText("\u6587\u4ef6");
        label1.setFont(new Font("\u9ed1\u4f53", Font.PLAIN, 20));
        label1.setForeground(Color.white);
        add(label1);
        label1.setBounds(55, 40, 40, 24);
        add(textField1);
        textField1.setBounds(110, 35, 605, 35);

        //---- button1 ----
        button1.setText("\u9009\u62e9");
        button1.setBackground(new Color(8, 145, 224));
        button1.setForeground(Color.white);
        button1.setFont(new Font("\u9ed1\u4f53", Font.PLAIN, 20));
        add(button1);
        button1.setBounds(730, 35, 105, 35);

        //======== scrollPane1 ========
        {
            scrollPane1.setViewportView(textArea1);
        }
        add(scrollPane1);
        scrollPane1.setBounds(25, 85, 845, 370);

        //---- label2 ----
        label2.setText("\u8bed\u901f");
        label2.setFont(new Font("\u9ed1\u4f53", Font.PLAIN, 20));
        label2.setForeground(Color.white);
        add(label2);
        label2.setBounds(140, 470, 40, 24);

        //---- label3 ----
        label3.setText("\u97f3\u91cf");
        label3.setFont(new Font("\u9ed1\u4f53", Font.PLAIN, 20));
        label3.setForeground(Color.white);
        add(label3);
        label3.setBounds(140, 505, 40, 24);

        //---- slider1 ----
        slider1.setOpaque(false);
        add(slider1);
        slider1.setBounds(220, 475, 530, slider1.getPreferredSize().height);

        //---- slider2 ----
        slider2.setOpaque(false);
        add(slider2);
        slider2.setBounds(220, 510, 530, 24);

        //---- button2 ----
        button2.setBackground(Color.white);
        button2.setIcon(new ImageIcon(getClass().getResource("/images/btn_male.png")));
        button2.setOpaque(false);
        button2.setBorderPainted(false);
        add(button2);
        button2.setBounds(245, 570, 100, 100);

        //---- button3 ----
        button3.setBackground(Color.white);
        button3.setIcon(new ImageIcon(getClass().getResource("/images/btn_female.png")));
        button3.setOpaque(false);
        button3.setBorderPainted(false);
        add(button3);
        button3.setBounds(400, 570, 100, 100);

        //---- button4 ----
        button4.setBackground(Color.white);
        button4.setIcon(new ImageIcon(getClass().getResource("/images/btn_henan.png")));
        button4.setOpaque(false);
        button4.setBorderPainted(false);
        add(button4);
        button4.setBounds(550, 570, 100, 100);

        setPreferredSize(new Dimension(900, 765));
        // JFormDesigner - End of component initialization  //GEN-END:initComponents
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
    // Generated using JFormDesigner Evaluation license - test
    private JLabel label1;
    private JTextField textField1;
    private JButton button1;
    private JScrollPane scrollPane1;
    private JTextArea textArea1;
    private JLabel label2;
    private JLabel label3;
    private JSlider slider1;
    private JSlider slider2;
    private JButton button2;
    private JButton button3;
    private JButton button4;
    // JFormDesigner - End of variables declaration  //GEN-END:variables
}
